import redis

sr_obj = redis.StrictRedis()

result = sr_obj.set('py1','Jerry')
print(result)

result = sr_obj.get('py1')
print(result)